<include file="Public:header"/>
列表<a href="{:U('Limited/add/')}">添加</a>
<table>
    <tr>
        <td>ID</td>
        <td>标题</td>
        <td>开始时间</td>
        <td>结束时间</td>
        <td>领取时间</td>
        <td>领取结束</td>
        <td>操作</td>
    </tr>
    <foreach name="frees" item="free">
        <tr>
            <td>{$free.id}</td>
            <td>{$free.title}</td>
            <td>{$free.start_time|date="Y-m-d",###}</td>
            <td>{$free.end_time|date="Y-m-d",###}</td>
            <td>{$free.start_time|date="Y-m-d",###}</td>
            <td>{$free.end_time|date="Y-m-d",###}</td>
            <td>
            	<a href="{:U('Limited/edit/id')}/{$free.id}">修改</a>
            	<a href="{:U('Limited/banner/id')}/{$free.id}">横幅</a>
            </td>
        </tr>
    </foreach>
    <tr>
        <td colspan="8">{$page}</td>
    </tr>
</table>
<include file="Public:footer"/>